#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

    ui->comboBox->addItem("1");
    ui->comboBox->addItem("2");

    ui->comboBox_2->addItem("3");
    ui->comboBox_2->addItem("4");

    ui->comboBox_3->addItem("5");

    ui->spinBox->setRange(1,6);
    ui->spinBox_2->setRange(1,6);
    ui->spinBox_3->setRange(1,6);

    ui->spinBox->setValue(1);
    ui->spinBox_2->setValue(1);
    ui->spinBox_3->setValue(1);

}

Widget::~Widget()
{
    delete ui;
}

